ComponentOne Bitmap for WPF
C1.WPF.DX.4.5.2 Assembly / C1.Util.DX Namespace / DataPointer Structure / ToArray Method / ToArray<T>() Method
Type of a buffer element

In This Topic
    ToArray<T>() Method
    In This Topic
    Converts this instance to a read only typed buffer.
    Syntax
    'Declaration
     
    Public Overloads Function ToArray(Of T As {New, Struct})() As T()
    public T[] ToArray<T>()
    where T: new(), struct

    Type Parameters

    T
    Type of a buffer element

    Return Value

    A readonly typed buffer.
    Exceptions
    ExceptionDescription
    DataPointer is Zero
    See Also